package com.hsh.gaoqianlianmeng.service;

import com.hsh.gaoqianlianmeng.common.Result;
import com.hsh.gaoqianlianmeng.domain.Currency;
import com.hsh.gaoqianlianmeng.domain.ExchangeRate;

import java.util.List;


public interface CurrencyService {
    /**
     * 获取币种列表
     *
     * @return
     */
    Result<List<Currency>> getCurrency();

    /**
     * 获取汇率
     *
     * @param exchangeRate
     * @return
     */
    Result getExchangeRate(ExchangeRate exchangeRate);
}
